<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>系统- 用户权限管理</title>
<link href="<%=basePath%>/css/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=basePath%>/js/main.js"></script>
<script type="text/javascript" src="<%=basePath%>/js/datepicker/WdatePicker.js"></script>
</head>
<body>
<div style="padding: 2px;">
	<form id="menusEditForm"  name="menusEditForm" action="<%=basePath%>/saveMenus.do" method="post" target="consoleFrame" >
	<table width="500" border="1" cellpadding="1" cellspacing="0" bordercolor="#eeeeee">
		<input name="menus.menuId" type="hidden" value="${menus.menuId}"/>
		<tr>
			<td height=25>父亲权限ID：</td>
			<td><input name="menus.parentId" type="text" class="input1"
				id="menus.parentId" value="${menus.parentId}" size="30" /></td>
		</tr>
		<tr>
			<td height=25>权限名：</td>
			<td><input name="menus.menuName" type="text" class="input1"
				id="menus.menuName" value="${menus.menuName}" size="30" verify="NotNull"/></td>
		</tr>
		<tr>
			<td height=25>URL：</td>
			<td><input name="menus.url" type="text" class="input1"
				id="menus.url" value="${menus.url}" size="30" verify="NotNull"/></td>
		</tr>
		<tr>
			<td height=25>级别：</td>
			<td><select id="menus.types" name="menus.types">
				<option value="FIRST">一级</option>
				<option value="SECOND">二级</option>
				</select></td>
		</tr>
		<tr align="center">
			<td colspan="2">
			 <input type="submit" value="保存"/>
			 <input type='button' onclick="parent.closeWin();" value="取消"/>
			</td>
		</tr>
	</table>

	</form>
	</div>
	</body>
</html>
